package com.qf.mybatis925.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * --- 天道酬勤 ---
 *
 * @author QiuShiju
 * @date 2025/9/30
 * @desc 用户数据传输对象(用于分页+搜索查询)
 */
@Data
public class UserDTO {
    private String username;
    private String phone;
    private Integer sex;
    private Integer pageNum;
    private Integer pageSize;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
}
